package org.csu.mypetstore.service;

import org.csu.mypetstore.domain.Category;
import org.csu.mypetstore.domain.Item;
import org.csu.mypetstore.domain.Product;

import java.util.List;

public interface AdminCatalogService {
    void addCategory(Category category);
    void updateCategory(Category category);
    void deleteCategory(String categoryId);
    Category getCategory(String categoryId);
    List<Category>listCategories();


    void addProduct(Product product);
    void updateProduct(Product product);
    void deleteProduct(String productId);
    Product getProduct(String productId);
    List<Product>listProducts();


    int searchProduct(String productId);
    void publishProduct(String productId);
    void addItem(Item item);
    void updateItem(Item item);
    void deleteItem(String itemId);


    Item getItem(String itemId);
    List<Item>listItems();
    List<Category> getCategoryList();

    
}
